﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


public class EasySDKConstParameterName
{
    public const string ParameterName_FunctionName = "FunctionName";
    public const string ParameterName_ListenerName = "ListenerName";
    public const string ParameterName_GoodsID = "GoodsID";

    public const string ParameterName_IsSuccess = "IsSuccess";
    public const string ParameterName_Error = "Error";
    public const string ParameterName_AccountId  = "AccountId";

    //数据上报参数
    public const string ParameterName_LogFunctionName = "LogFunctionName";
    public const string ParameterName_EventID = "EventID";
    public const string ParameterName_EventLabel = "EventLabel";
    public const string ParameterName_EventMap = "EventMap";

    //其他
    public const string ParameterName_OtherFunctionName = "OtherFunctionName";
}

public class EasySDKConstFunctionName
{
    public const string FunctionName_Init = "Init";
    public const string FunctionName_Login = "Login";
    public const string FunctionName_Logout = "Logout";
    public const string FunctionName_QuitGame = "QuitGame";
    public const string FunctionName_Pay = "Pay";
    public const string FunctionName_Log = "log";
    public const string FunctionName_LogEvent = "Event";

    public const string FunctionName_Other = "Other";
    //回调方法

    public const string FunctionName_OnInit = "OnInit";
    public const string FunctionName_OnLogin = "OnLogin";
    public const string FunctionName_OnLogout = "OnLogout";
    public const string FunctionName_OnPay = "OnPay";
}

public class OrderInfo
{
    public string goodsID;
    public string goodsName;
    public string goodsDesc;
    public string quantifier; //商品量词
    public string cpOrderID;
    public string callbackUrl;
    public string extrasParams;
    public double price;
    public double amount;
    public int count;

    public PropType propType;

    public enum PropType
    {
        ONCE_ONLY,
        NORMAL,
        RIGHTS,
    }
};